package com.tqyan.model;

import lombok.Data;

import java.io.Serializable;

/**
 * @description HttpClient响应结果
 * <p> <功能详细描述> </p>
 *
 * @author 陈晨
 * @date 2023/4/12 16:10
 */
@Data
public class HttpClientResult implements Serializable {
    private static final long serialVersionUID = 9115068890007578018L;

    /** 响应码 */
    private int code;
    /** 响应内容 */
    private String content;

    public HttpClientResult() {
    }

    public HttpClientResult(int code) {
        this.code = code;
    }

    public HttpClientResult(String content) {
        this.content = content;
    }

    public HttpClientResult(int code, String content) {
        this.code = code;
        this.content = content;
    }

}


